package com.lei.zktwo.mvp;

import com.lei.zktwo.bean.AppkepBean;
import com.lei.zktwo.bean.LoginBean;
import com.lei.zktwo.bean.RegisterBean;

import java.util.HashMap;

import io.reactivex.Observable;
import retrofit2.http.POST;
import retrofit2.http.QueryMap;

public interface Api {
    @POST("developerRegister")
    Observable<AppkepBean> appkey(@QueryMap HashMap<String,String> map);
    @POST("loginUser")
    Observable<LoginBean> login(@QueryMap HashMap<String,String> map);
    @POST("registerUser")
    Observable<RegisterBean> register(@QueryMap HashMap<String,String> map);
}
